﻿<UserControl x:Class="Might.GraphicsEditor.Tools.Resizer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid x:Name="topgrid">
        <Grid.RowDefinitions>
            <RowDefinition Height="6"/>
            <RowDefinition/>
            <RowDefinition Height="6"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="6"/>
            <ColumnDefinition/>
            <ColumnDefinition Width="6"/>
        </Grid.ColumnDefinitions>
        <Rectangle Grid.Column="0" Grid.Row="0" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="TL" Cursor="Hand" Tag="TopLeft"/>
        <Rectangle Grid.Column="1" Grid.Row="0" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="TM" Cursor="SizeNS" Tag="Top" Width="6"/>        
        <Rectangle Grid.Column="1" Grid.Row="0" Fill="#FF6495ED" Stroke="#00000000" x:Name="TMx" Cursor="SizeNS" Tag="Top" Height="1" VerticalAlignment="Bottom"/>        
        <Rectangle Grid.Column="2" Grid.Row="0" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="TR" Cursor="Hand" Tag="TopRight"/>
        <Rectangle Grid.Column="0" Grid.Row="1" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="ML" Cursor="SizeWE" Tag="MiddleLeft" Height="6"/>
        <Rectangle Grid.Column="0" Grid.Row="1" Fill="#FF6495ED" Stroke="#00000000" x:Name="MLx" Cursor="SizeWE" Tag="MiddleLeft" Width="1" HorizontalAlignment="Right"/>
        <Rectangle Grid.Column="1" Grid.Row="1" x:Name="CENTER" Cursor="Hand" Tag="Middle" Width="50" Height="50"/>
        <Rectangle Grid.Column="2" Grid.Row="1" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="MR" Cursor="SizeWE" Tag="MiddleRight" Height="6"/>
        <Rectangle Grid.Column="2" Grid.Row="1" Fill="#FF6495ED" Stroke="#00000000" x:Name="MRx" Cursor="SizeWE" Tag="MiddleRight" Width="1" HorizontalAlignment="Left"/>
        <Rectangle Grid.Column="0" Grid.Row="2" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="BL" Cursor="Hand" Tag="BottomLeft"/>
        <Rectangle Grid.Column="1" Grid.Row="2" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="BM" Cursor="SizeNS" Tag="Bottom" Width="6"/>
        <Rectangle Grid.Column="1" Grid.Row="2" Fill="#FF6495ED" Stroke="#00000000" x:Name="BMx" Cursor="SizeNS" Tag="Bottom" Height="1" VerticalAlignment="Top" />
        <Rectangle Grid.Column="2" Grid.Row="2" Fill="#FFFFFFFF" Stroke="#FF6495ED" x:Name="BR" Cursor="Hand" Tag="BottomRight"/>
    </Grid>
</UserControl>
